home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / cug231 / block.h < prev    next >
Text File  |  1987-06-17  |  640b  |  32 lines

  1. /*
  2.     Little Smalltalk
  3.         
  4.         block definitions
  5.         timothy a. budd, 10/84
  6. */
  7. /*
  8.     for blocks
  9.  
  10.         b_size = BLOCKSIZE
  11.  
  12.         b_interpreter is an instance of interpreter that will
  13.         actually execute the bytecodes for the block.
  14.  
  15.         b_numargs and b_arglocation are the number of arguments and
  16.         the starting argument location in the context array.
  17.  
  18. */
  19.  
  20. struct block_struct {
  21.     int    b_ref_count;
  22.     int    b_size;
  23.     interpreter    *b_interpreter;
  24.     int    b_numargs;
  25.     int    b_arglocation;
  26.     } ;
  27.  
  28. typedef struct block_struct block;
  29.  
  30. extern object *new_block();
  31. extern interpreter *block_execute();
  32.